Skip to content

cargo-fuzztest: support fuzzing a fuzztest. - #2153

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/953003012
Aug 14, 2026
Merged

cargo-fuzztest: support fuzzing a fuzztest.#2153
copybara-service[bot] merged 1 commit into
mainfrom
cl/953003012

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

cargo-fuzztest: support fuzzing a fuzztest.

  • Add an optional test_path field to CargoFuzzTestOptions and implement test_filter() to support running specific fuzztest targets.
  • Add --centipede-binary-path CLI flag to CargoFuzzTestOptions and forward it via FUZZTEST_CENTIPEDE_BINARY_PATH environment variable to compiled test processes.
  • Update FuzztestRunner::build_run_command in cargo-fuzztest to append exact matching arguments when a specific test target is selected.
  • Forward configured fuzzing durations (both finite durations and indefinite fuzzing via inf) to child test executables using environment variables.
  • Add unit and e2e integration tests for targeted execution and command flag propagation.

@copybara-service
copybara-service Bot force-pushed the cl/953003012 branch 4 times, most recently from 768cbd5 to 2d2fc4b Compare August 10, 2026 00:16
@copybara-service copybara-service Bot changed the title No public description cargo-fuzztest: support fuzzing a fuzztest. Aug 14, 2026
@copybara-service
copybara-service Bot force-pushed the cl/953003012 branch 4 times, most recently from 9ba1c13 to 01489b0 Compare August 14, 2026 19:43
- Add an optional test_path field to CargoFuzzTestOptions and implement test_filter() to support running specific fuzztest targets.
- Add --centipede-binary-path CLI flag to CargoFuzzTestOptions and forward it via FUZZTEST_CENTIPEDE_BINARY_PATH environment variable to compiled test processes.
- Update FuzztestRunner::build_run_command in cargo-fuzztest to append exact matching arguments when a specific test target is selected.
- Forward configured fuzzing durations (both finite durations and indefinite fuzzing via inf) to child test executables using environment variables.
- Add unit and e2e integration tests for targeted execution and command flag propagation.

PiperOrigin-RevId: 964850072
@copybara-service
copybara-service Bot merged commit 810d993 into main Aug 14, 2026
@copybara-service
copybara-service Bot deleted the cl/953003012 branch August 14, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant